/**
 * 
 */
package ro.utcn.tp.taskManagement.utils;

import java.util.Calendar;

/**
 * @author Coni
 *
 */
public class DateUtils {
	
 public static Calendar initializeDate (Calendar calendar){
	 calendar.set(Calendar.HOUR_OF_DAY, 0);
	 calendar.set(Calendar.MINUTE, 0);
	 calendar.set(Calendar.SECOND, 0);
	 calendar.set(Calendar.MILLISECOND, 0);
	 return calendar;
 }
 public static Calendar getTodayDate(){
	 Calendar calendar = Calendar.getInstance();
	 calendar=initializeDate(calendar);
	 return calendar;
 }
}
